#ifndef CUSTOMQGRAPHICSVIEW_H
#define CUSTOMQGRAPHICSVIEW_H
#include <QGraphicsView>

class CustomQGraphicsView : public QGraphicsView
{
public:
    CustomQGraphicsView(QWidget *parent = 0);
    ~CustomQGraphicsView();

    void zoom(bool zoomIn);

    void getMinMaxSizeSxSy(qreal &sMin, qreal &sMax);

    void smallest();

protected:
//    void resizeEvent(QResizeEvent *event) Q_DECL_OVERRIDE;
//    void showEvent(QShowEvent *event) Q_DECL_OVERRIDE;

private:

};

#endif // CUSTOMQGRAPHICSVIEW_H
